3ce280f443ab8695733ad9f74fecc1f9afcbb897,modules/util/sync-engine/src/com/liferay/sync/engine/filesystem/SyncWatchEventProcessor.java,SyncWatchEventProcessor,addFile,#SyncWatchEvent#,62

Before Change


		Path sourceFilePath = Paths.get(syncFile.getFilePathName());

		if (targetFilePath.equals(sourceFilePath) &&
			!FileUtil.hasFileChanged(syncFile)) {
		}
		else if (Files.exists(sourceFilePath)) {
			try {

After Change


		Path sourceFilePath = Paths.get(syncFile.getFilePathName());

		if (targetFilePath.equals(sourceFilePath)) {
			if (FileUtil.hasFileChanged(syncFile)) {
				SyncFileService.updateFileSyncFile(
					targetFilePath, _syncAccountId, syncFile);
			}